<div id="imageList">
	{foreach from=$imageList item=imageItem}
		<div class="imageItem" style="background-image:url('{$imageItem.thumb_url}');">
			<div class="imageItemTitle">
				<div class="imageItemDelete" onclick="javascript:deleteImage('{$imageItem.filetitle}.{$imageItem.ext}');">X</div>
				<a href="{$imageItem.url}" target="_blank">
					{$imageItem.title}
				</a>
			</div>
		</div>
	{/foreach}
</div>
<div id="imageUpload">
	<form action="?view=image&action=new" method="POST" enctype="multipart/form-data">
		<table cellpadding="4">
			<tr>
				<td>Datei:</td>
				<td>
					<input type="file" id="imageFile" name="imageFile" />
				</td>
				<td>
					<input type="submit" id="submitImageFile" name="submitImageFile" value="Bild hochladen" />
				</td>
			</tr>
		</table>
	</form>
</div>
